package com.shasselclub.api.v1.result;
import io.swagger.annotations.ApiModelProperty;
public class DaTiResult implements java.io.Serializable{
    @ApiModelProperty(value = "是否是答案：0：否1：是",required = true)
    private String isAnswer;
    @ApiModelProperty(value = "答案解析，答错的时候提示",required = true)
    private String answerParse;
    @ApiModelProperty(value = "正确答案，答错的时候提示",required = true)
    private String answer;
    @ApiModelProperty(value = "已经答题数量",required = true)
    private int answerNum;
    @ApiModelProperty(value = "已经答题得分",required = true)
    private int answerScore;

    public String getIsAnswer() {
        return isAnswer;
    }

    public void setIsAnswer(String isAnswer) {
        this.isAnswer = isAnswer;
    }

    public String getAnswerParse() {
        if(null==answerParse){
            answerParse="";
        }
        return answerParse;
    }

    public void setAnswerParse(String answerParse) {
        this.answerParse = answerParse;
    }

    public String getAnswer() {
        if(null==answer){
            answer="";
        }
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public int getAnswerNum() {
        return answerNum;
    }

    public void setAnswerNum(int answerNum) {
        this.answerNum = answerNum;
    }

    public int getAnswerScore() {
        return answerScore;
    }

    public void setAnswerScore(int answerScore) {
        this.answerScore = answerScore;
    }
}
